package top.hmtools.ckfinder.beans.commons;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

@XmlRootElement(name="ConnectorInfo")
public class ConnectorInfoBean {

	@XmlAttribute(name="enabled")
	private boolean enabled;
	
	@XmlAttribute(name="s")
	private String s;
	
	@XmlAttribute(name="c")
	private String c;
	
	@XmlAttribute(name="thumbsEnabled")
	private boolean thumbsEnabled;
	
	@XmlAttribute(name="thumbsUrl")
	private String thumbsUrl;
	
	@XmlAttribute(name="thumbsDirectAccess")
	private boolean thumbsDirectAccess;

	@XmlTransient
	public boolean getEnabled() {
		return enabled;
	}

	public ConnectorInfoBean setEnabled(boolean enabled) {
		this.enabled = enabled;
		return this;
	}

	@XmlTransient
	public String getS() {
		return s;
	}

	public ConnectorInfoBean setS(String s) {
		this.s = s;
		return this;
	}

	@XmlTransient
	public String getC() {
		return c;
	}

	public ConnectorInfoBean setC(String c) {
		this.c = c;
		return this;
	}

	@XmlTransient
	public boolean getThumbsEnabled() {
		return thumbsEnabled;
	}

	public ConnectorInfoBean setThumbsEnabled(boolean thumbsEnabled) {
		this.thumbsEnabled = thumbsEnabled;
		return this;
	}

	@XmlTransient
	public String getThumbsUrl() {
		return thumbsUrl;
	}

	public ConnectorInfoBean setThumbsUrl(String thumbsUrl) {
		this.thumbsUrl = thumbsUrl;
		return this;
	}

	@XmlTransient
	public boolean getThumbsDirectAccess() {
		return thumbsDirectAccess;
	}

	public ConnectorInfoBean setThumbsDirectAccess(boolean thumbsDirectAccess) {
		this.thumbsDirectAccess = thumbsDirectAccess;
		return this;
	}
	
	
}
